* {
    touch-action: manipulation;
}

#app {
  position: relative;
  height: 530px;
  width: 303px;
  overflow: auto;
  display: block;
  overflow: hidden;
}
html{
    overflow: hidden;
}

body {
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

.main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.cover::before {
  cursor: pointer;
  content: "";
  color: #53ed7c;
  font-size: 30px;
  position: absolute;
  white-space: nowrap;
  top: 50%;
  left: 50%;
  height: 80px;
  width: 100%;
  max-width: 380px;
  transform: translate(-50%, -50%);
  background-image: url("../images/start.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 1440px) {
  .cover {
    background-image: url("../images/bg1.jpg");
  }
}

@media (max-width: 1439px) {
  .cover {
    background-image: url("../images/bg0.jpg");
  }
}

.end {
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 380px;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.end img{
    cursor: pointer;
    width: 100%;
}
.main:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background-size: 100%;
  opacity: 0.1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 1440px) {
  .main:after {
    background-image: url("../images/bg1.jpg");
  }
}

@media (max-width: 1439px) {
  .main:after {
    background-image: url("../images/bg0.jpg");
  }
}

.header {
  width: 303px;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  line-height: 40px;
}

.countdown-wrapper {
  flex: 1;
  text-align: center;
}

em {
  font-style: normal;
}
em.total-num {
  color: lightgreen;
}
em.countdown {
  color: lightcoral;
}
.active {
  opacity: 0.5;
}

#encouragement-text {  /*大模型生成*/
  font-size: 40px;  /*大模型生成*/
  font-weight: bold;  /*大模型生成*/
  font-family: "Comic Sans MS", cursive;  /*大模型生成*/
  color: rgba(252, 18, 57, 0.6);  /*大模型生成*/
  pointer-events: none;  /*大模型生成*/
  height: 200px;  /*大模型生成*/
  position: absolute;  /*大模型生成*/
  display: none;  /*大模型生成*/
  /* 可根据需要设置其他样式属性 */
  background-color: transparent;  /*大模型生成*/
  animation-name: encouragementAnimation;  /*大模型生成*/
  animation-duration: 0.5s;  /*大模型生成*/
  animation-iteration-count: 1;  /*大模型生成*/
}

@keyframes encouragementAnimation {  /*大模型生成*/
  0% {  /*大模型生成*/
    transform: scale(1);  /*大模型生成*/
  }  /*大模型生成*/
  100% {  /*大模型生成*/
    transform: scale(1.2);  /*大模型生成*/
  }  /*大模型生成*/
}  /*大模型生成*/

#btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  /* 按钮背景色 */
  color: #fff;
  /* 文本颜色 */
  font-size: 16px;
  /* 字体大小 */
  border: none;
  border-radius: 4px;
  /* 圆角边框 */
  cursor: pointer;
  transition: background-color 0.3s ease;
  /* 渐变动画效果 */
  outline: none;
}

#btn:hover {
  background-color: #2980b9;
  /* 按钮背景色 - 悬停时 */
}
